package com.qf.service;

import com.qf.entity.Orders;

import java.lang.reflect.InvocationTargetException;
import java.sql.SQLException;
import java.util.List;

/**
 * @Author:YuhuaZhang
 * @Description
 * @Date:Created in 11:52 2021/11/6
 * @Modified By:
 */
public interface OrdersService {
    void createOrder(String aid, String uid, String sum) throws IllegalAccessException, SQLException, InvocationTargetException;

    List<Orders> findOrdersByUid(int uid) throws IllegalAccessException, SQLException, InvocationTargetException;

    Orders findOrdersByOid(String oid) throws IllegalAccessException, SQLException, InvocationTargetException;
}
